export default {
    methods: {
     auditor () { // 获取客服下拉
        return new Promise((resolve, reject) => {
          let option = {
            param: {
              partnerId:sessionStorage.partnerId,
            }       
          }
          this.$axios.post(this.$action.selection_customer,option).then(res => {
            if (res.code == 200) {
              let arr=[];
              res.data.forEach(value => {
                arr.push({value: value.id, label: value.userName});
              })
              resolve(arr);
            }
          })
        })
      }
    }
  }